<%--
  Created by IntelliJ IDEA.
  User: 熊自国
  Date: 2024/11/19
  Time: 19:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>带摇晃特效的扁平风格登录注册表单界面</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/css/login.css">
</head>
<body>
<div id="wrapper" class="login-page">
    <div id="login_form" class="form">
        <form class="login-form" action="${pageContext.request.contextPath}/user/login.do" method="post">
            <h2>管理登录</h2>
            <span style="color: red">${msg}</span>
            <input type="text" name="userUsername" placeholder="用户名" id="user_name" />
            <input type="password" name="userPassword" placeholder="密码" id="password" />
            <button type="submit" id="login" >登　录</button>
            <p class="message">还没有账户? <a href="${pageContext.request.contextPath}/jsp/register.jsp">立刻创建</a></p>
        </form>
    </div>
</div>

<script src="${pageContext.request.contextPath}/static/js/jquery.min.js"></script>
<script type="text/javascript">

    // $(function(){
    //     $("#create").click(function(){
    //         check_register();
    //         return false;
    //     })
    //     $("#login").click(function(){
    //         check_login();
    //         return false;
    //     })
    //     $('.message a').click(function () {
    //         $('form').animate({
    //             height: 'toggle',
    //             opacity: 'toggle'
    //         }, 'slow');
    //     });
    // })

</script>
</body>
</html>
